<i *ngFor='let star of stars;let i=index;' class="fa" [class.fa-star]='star' [class.fa-star-o] = 'star == false' [class.fa-star-half-empty] = "star == 'half'" (click)="clickStar(i)"></i>
<span>{{rating}}星</span>


